﻿using System.Collections;
using System.Collections.Generic;

using Dict.DataModel;
namespace Dict.Blo
{
    public class DictTreasureRefineBlo
    {
        public static TableTreasureRefine GetTableTreasureRefine(string treasureId)
        {
            return Dict.DictDataManager.Instance.tableTreasureRefineDao.GetById(treasureId);
        }

        public static TableTreasureRefineLevel GetTreasureRefineLevelData(string treasureId,int level)
        {
            List<TableTreasureRefineLevel> list = Dict.DictDataManager.Instance.tableTreasureRefineLevelDao.GetByOneIndex(treasureId);
            return list[level - 1];
        }

        //public static List<TableTreasureSkill> GetTreasureSkillByTreasureId()
        //{

        //}
    }
}
